package com.gusti.turnos.form;

import java.util.Date;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 
 * @author gusti
 *
 */
public class AppointmentForm {

	private long id;
	@NotEmpty(message="Name is required!")
	private String name;
//	@NotEmpty(message="From is required!")
	private Date fromHour;
//	@NotEmpty(message="To is required!")
	private Date toHour;

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public Date getFromHour() {
		return fromHour;
	}
	public void setFromHour(Date fromHour) {
		this.fromHour = fromHour;
	}

	public Date getToHour() {
		return toHour;
	}
	public void setToHour(Date toHour) {
		this.toHour = toHour;
	}
}
